package common.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class User {
    private String username;
    private Address address;

    public String getUserInfo() {
        return username + "" + address.getDetail();
    }
}
